<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/2/7
  Time: 9:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>商品页面</title>
</head>
<body>
    <form action="${pageContext.request.contextPath}/shop/update"
          method="post" enctype="multipart/form-data">
      <%--隐藏域--%>
        <input type="hidden" name="id"  value="${shop.id}" />
      商品名称:<input type="text" name="pname" value="${shop.pname}" /><br/>
      商品价格:<input type="text" name="pprice" value="${shop.pprice}" /><br/>
      商品颜色:<input type="text" name="pcolor" value="${shop.pcolor}" /><br/>
      商品描述:<input type="text" name="pdesc" value="${shop.pdesc}" /><br/>
          上传:<input type="file" name="file" />
      <input type="submit" value="保存修改"/>
    </form>
</body>
</html>
